<%--
	User: dizem@126.com
	Time: 11-6-27 上午10:51
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv=content-type
		  content="text/html; charset=UTF-8;charset=utf-8"/>
	<title>添加城市</title>
	<link rel="stylesheet" href="../css/index.css" type="text/css" media="screen" charset="utf-8"/>
	<script type="text/javascript" src="../js/jquery-1.6.js"></script>
	<script type="text/javascript">
		$(document).ready(function() {
			$('#other_li').attr("class", "current")
		})
	</script>
</head>
<body>
<jsp:include page="../common/adminHeader.jsp"/>
<div id="bd" class="cf">
	<div id="user">
		<div class="dashboard" id="dashboard">
			<ul>
				<li>
					<a href="/admin/listCategory.action">分类列表</a><span></span>
				</li>
				<li>
					<a href="/admin/listCity.action">城市列表</a><span></span>
				</li>
				<li class="current">
					<a href="#">添加城市</a><span></span>
				</li>
			</ul>
		</div>
		<div id="content" class="clear mainwide">
			<div class="clear box">
				<div class="box-top"></div>
				<div class="box-content">
					<div class="head">
						<h2>添加城市</h2>
					</div>
					<div class="sect">
						<s:form namespace="/admin" action="addCity" method="post"
								theme="simple">
							<div class="field">
								<label for="txt_chnName">城市名称</label>
								<s:textfield id="txt_chnName" size="10" name="city.chnName"
											 cssClass="f-input"/>
							</div>
							<div class="field">
								<label for="txt_chnName">英文</label>
								<s:textfield id="txt_chnName" size="10" name="city.engName"
											 cssClass="f-input"/>
								<span class="hint">用来对城市进行排序时建立索引</span>
							</div>
							<div class="act">
								<s:submit value="保存" name="commit" id="submit" cssClass="formbutton"/>
								<input type="button" value="返回" onclick="location.href = '/admin/listCity.action'"
									   class="formbutton"/>
							</div>
						</s:form>
					</div>
				</div>
				<div class="box-bottom"></div>
			</div>
		</div>
		<div id="sidebar"></div>
	</div>
</div>
<jsp:include page="../common/footer.jsp"/>
</body>
</html>
		